Package com.cisco.pt.ipc.ui
Interface ToolBar
- All Superinterfaces:
IPCObject
- All Known Implementing Classes:
ToolBarImpl
Information provided by the PKI file:
\class ToolBar
\brief ToolBar is the QDocWindow instatiated in QMainWindow.
\example appWindow().getToolBar()
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:addItemWithName(String text, String iconPath, String name) Information provided by the PKI file:intcount()Information provided by the PKI file:getItemByUuid(UUID id) Information provided by the PKI file:voidremoveItemUuid(UUID id) Information provided by the PKI file:voidsetItemAtEnabled(int index, boolean bEnabled) Information provided by the PKI file:voidsetItemAtVisible(int index, boolean visible) Information provided by the PKI file:voidsetItemEnabled(String name, boolean bEnabled) Information provided by the PKI file:voidsetItemObjectEnabled(String name, boolean bEnabled) Information provided by the PKI file:voidsetItemVisible(String name, boolean bVisible) Information provided by the PKI file:voidInformation provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Method Details
-
setVisible
void setVisible()Information provided by the PKI file:
\brief Shows or hides this widget from view. \param bVisible, true to show this widget, false to hide it. -
count
int count()Information provided by the PKI file:
\brief Returns the number of action items in this toolbar. \return int, the number of action items in this toolbar.- Returns:
- int Returns a int
-
setItemAtVisible
void setItemAtVisible(int index, boolean visible) Information provided by the PKI file:
\brief Shows or hides the action item at the specified index. \param index, the index of the action item. \param bVisible, true to show the action item, false to hide it.- Parameters:
index- Takes in a parameter of indexvisible- Takes in a parameter of visible
-
setItemAtEnabled
void setItemAtEnabled(int index, boolean bEnabled) Information provided by the PKI file:
\brief Enables or disables the action item at the specified index. \param index, the index of the action item. \param bEnabled, true to enable the action item, false to disable it.- Parameters:
index- Takes in a parameter of indexbEnabled- Takes in a parameter of bEnabled
-
setItemVisible
Information provided by the PKI file:
\brief Shows or hides the specified action item. \param name, the name of the action item. \param bVisible, true to show the action item, false to hide it.- Parameters:
name- Takes in a parameter of namebVisible- Takes in a parameter of bVisible
-
setItemEnabled
Information provided by the PKI file:
\brief Enables or disables the specified action item. \param name, the name of the action item. \param bEnabled, true to enable the action item, false to disable it.- Parameters:
name- Takes in a parameter of namebEnabled- Takes in a parameter of bEnabled
-
addItem
Information provided by the PKI file:
\brief Adds a action button item at the end of the toolbar. \param text, the name of the button. \param iconPath, the full path of the image to use in the button. \return uuid, the UUID of the action button item that was added.- Parameters:
text- Takes in a parameter of texticonPath- Takes in a parameter of iconPath- Returns:
- UUID Returns a UUID
-
removeItemUuid
Information provided by the PKI file:
\brief Removes the action button item with the specified UUID. \param id, the UUID of the action button item of interest.- Parameters:
id- Takes in a parameter of id
-
getItemByUuid
Information provided by the PKI file:
\brief Returns the action button item with the specified UUID. \param id, the UUID of the action button item of interest. \return MenuItem, the action button item object with the specified UUID.- Parameters:
id- Takes in a parameter of id- Returns:
- PopupMenuItem Returns a PopupMenuItem
-
setItemObjectEnabled
Information provided by the PKI file:
\brief Enables or disables the specified action item by using object name. \param name, the object name of the action item. \param bEnabled, true to enable the action item, false to disable it.- Parameters:
name- Takes in a parameter of namebEnabled- Takes in a parameter of bEnabled
-
addItemWithName
Information provided by the PKI file:
\brief Adds a action button item at the end of the toolbar. \param text, the name of the button. \param iconPath, the full path of the image to use in the button. \param name, the object name assigned to the button action. \return uuid, the UUID of the action button item that was added.- Parameters:
text- Takes in a parameter of texticonPath- Takes in a parameter of iconPathname- Takes in a parameter of name- Returns:
- UUID Returns a UUID
-